import requests


class ImHr:
    @classmethod
    def imhr_login(cls, login_data):
        url_login = "http://ihrm-test.itheima.net/api/sys/login"
        resp = requests.post(url_login, json=login_data)
        return resp
